﻿using Abp.Application.Services;
using MyCompanyName.AbpZeroTemplate.Prm.Project.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;

namespace MyCompanyName.AbpZeroTemplate.Prm.Project
{
    public interface ISummaryAppService : IApplicationService
    {
        GetSummaryOutPut Get([FromUri]string StartTime, int LaboratoryId = 0);
        GetSummaryOutPut GetToEdit();
        List<GetSummaryOutPut> GetHistory();
        Task CreateOrEdit(CreateOrEditSummaryInPut input);
        List<GetSummaryOutPut> GetStatistics([FromUri]DateTime StartTime);
        GetYearAndWeekOutPut GetYearAndWeek(GetYearAndWeekInPut input);
        GetProjectWeekly GetProjectWeekly([FromUri]string StartTime, int LaboratoryId = 0);

        WeekSummaryDataDto GetWeekSummaryData(DateTime dt);
        /// <summary>
        /// XX时间段内的进行中的项目
        /// </summary>
        /// <param name="mondayDate"></param>
        /// <returns></returns>
        List<ProjectInfo> GetWeekSummaryProjects(DateTime mondayDate);
        
    }
}
